package cn.itcast.service.system;

import cn.itcast.domain.system.Role;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface RoleService{
  
    public void save(Role role);

    public void update(Role role) ;

    public void deleteById(String id) ;
 
    public Role findById(String id);

    public PageInfo findPage(String companyId, int page, int size);

    List<Role> findAll(String companyId);

    List<String> findRoleIdsByUserId(String id);

    void updateRoleModule(String roleid, String moduleIds);
}  